Set rallocobj with configure, not cpp.
authorGlenn Morris <rgm@gnu.org>
Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)
commit2d6f479cbbf81515f3169c886204393fc9bc9366
treedc80138ca4436ea7c3f3f0801bbb4b32026573f2
parent7f292f25b2d44c7ae6023d95d9381c6ecda47d05
Set rallocobj with configure, not cpp.

* configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
(RALLOC_OBJ): New output variable.
* config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (RALLOC_OBJ): New, set by configure.
(rallocobj): Replace with the previous variable.
(otherobj): Use $RALLOC_OBJ.

* src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
* src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.

* msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
ChangeLog
config.bat
configure.in
msdos/ChangeLog
msdos/sed1v2.inp
src/ChangeLog
src/Makefile.in
src/s/gnu-linux.h
src/s/gnu.h